<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"  %>
<html>
<head>
    <title>Title</title>
</head>

<body>
   <table>
       <tr>
           <td>编号</td>
           <td>姓名</td>
           <td>性别</td>
           <td>年龄</td>
           <td>分数</td>
           <td>部门</td>
       </tr>
   <c:forEach var="person" items="${personList}">
       <tr>
           <td>${person.id}</td>
           <td>${person.name}</td>
           <td>
               <c:if test="${person.gerden==1}">男</c:if>
               <c:if test="${person.gerden==0}">女</c:if>
           </td>
           <td>${person.age}</td>
           <td>${person.rank}</td>
           <td>${person.department}</td>
       </tr>
   </c:forEach>
   </table>
</body>
</html>
